package com.ruoyi.mapper;

import java.util.List;
import com.ruoyi.domain.RoomInfo;

/**
 * RoomInfoMapper接口
 * 
 * @author ruoyi
 * @date 2025-01-11
 */
public interface RoomInfoMapper 
{
    /**
     * 查询RoomInfo
     * 
     * @param roomNumber RoomInfo主键
     * @return RoomInfo
     */
    public RoomInfo selectRoomInfoByRoomNumber(Long roomNumber);

    /**
     * 查询RoomInfo列表
     * 
     * @param roomInfo RoomInfo
     * @return RoomInfo集合
     */
    public List<RoomInfo> selectRoomInfoList(RoomInfo roomInfo);

    /**
     * 新增RoomInfo
     * 
     * @param roomInfo RoomInfo
     * @return 结果
     */
    public int insertRoomInfo(RoomInfo roomInfo);

    /**
     * 修改RoomInfo
     * 
     * @param roomInfo RoomInfo
     * @return 结果
     */
    public int updateRoomInfo(RoomInfo roomInfo);

    /**
     * 删除RoomInfo
     * 
     * @param roomNumber RoomInfo主键
     * @return 结果
     */
    public int deleteRoomInfoByRoomNumber(Long roomNumber);

    /**
     * 批量删除RoomInfo
     * 
     * @param roomNumbers 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteRoomInfoByRoomNumbers(Long[] roomNumbers);
}
